package com.px.chapter_Dec_1.textt;

import java.util.function.Function;

public class MyFunction implements Function<Integer,Integer> {


    @Override
    public Integer apply(Integer integer) {
        integer=integer+1;
        return integer;
    }
}
